/**
 * Created by yutao6 on 2016/12/16.
 * 判断是否是json格式
 */
var isJson = function(obj){
    var json = typeof(obj) == "object" && Object.prototype.toString.call(obj).toLowerCase() == "[object object]" && !obj.length;
    return json;
}

module.exports = isJson;